package com.qiyi.player.core.video.events
{
   import flash.events.Event;
   
   public class ClientP2PEvent extends Event
   {
      
      public function ClientP2PEvent(param1:String, param2:Object = null, param3:Boolean = false, param4:Boolean = false) {
         super(param1,param3,param4);
         this._data = param2;
      }
      
      public static const Evt_Connected:String = "connected";
      
      public static const Evt_IOError:String = "IOError";
      
      public static const Evt_SecurityError:String = "securityError";
      
      public static const Evt_Close:String = "close";
      
      public static const Evt_ReceiveData:String = "receiveData";
      
      public static const Evt_ReceiveVideo:String = "receiveVideo";
      
      public static const Evt_Start_LoadOK:String = "startLoadOK";
      
      public static const Evt_Stop_LoadOK:String = "stopLoadOK";
      
      public static const Evt_Failed:String = "failed";
      
      private var _data:Object;
      
      public function get data() : Object {
         return this._data;
      }
   }
}
